package a_exception.f_finally;

import a_exception.e_try.Demo;
import a_exception.e_try.Demo01Array;
import a_exception.e_try.Demo02Null;
import a_exception.e_try.Demo03ClassCast;

public class FinallyDemo {
    public static void main(String[] args) {
        try {
            Demo01Array.m1();
            Demo02Null.m2();
            Demo03ClassCast.m3();
        } catch (Exception e) {
            throw new RuntimeException(e);
        } finally {
            System.out.println("finally 代码块");
        }
    }
}
